<template>
  <div class="cart-table">
    <div class="cart-group js-cart-group">
      <div class="cart-items" v-for="(item,index) in alldat.alldata" :key="index">
        <div class="items-thumb">
          <a href="javascript:;" target="_blank">
            <img :src="item.image"/>
          </a>
        </div>
        <div class="name hide-row">
          <div class="name-cell">
            <a
              href="javascript:;"
              :title="item.title"
              target="_blank"
            >{{item.title}}</a>
          </div>
        </div>
        <div class="subtotal">
          <div class="subtotal-cell">¥ {{item.snum*item.price}}</div>
        </div>
        <div class="goods-num">{{item.snum}}</div>
        <div class="price">¥{{item.price}}</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
    props:['alldat']
};
</script>

<style>
</style>